home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / IPC.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  558b  |  30 lines

  1. #ifndef __ASM_MIPS_IPC_H
  2. #define __ASM_MIPS_IPC_H
  3.  
  4. /* 
  5.  * These are used to wrap system calls on MIPS.
  6.  *
  7.  * See arch/mips/kernel/sysmips.c for ugly details..
  8.  * FIXME: split up into ordinary syscalls ...
  9.  */
  10. struct ipc_kludge {
  11.     struct msgbuf *msgp;
  12.     long msgtyp;
  13. };
  14.  
  15. #define SEMOP         1
  16. #define SEMGET         2
  17. #define SEMCTL         3
  18. #define MSGSND        11
  19. #define MSGRCV        12
  20. #define MSGGET        13
  21. #define MSGCTL        14
  22. #define SHMAT        21
  23. #define SHMDT        22
  24. #define SHMGET        23
  25. #define SHMCTL        24
  26.  
  27. #define IPCCALL(version,op)    ((version)<<16 | (op))
  28.  
  29. #endif /* __ASM_MIPS_IPC_H */
  30.